#-------------------------------------------------
#
# Project created by QtCreator 2010-07-09T07:40:49
#
#-------------------------------------------------

QT       += core gui multimedia network

TARGET = avcodec_to_widget_9
TEMPLATE = app

DEFINES += QT_NO_OPENGL
PRECOMPILED_HEADER = stable.h

INCLUDEPATH += core
INCLUDEPATH += input
INCLUDEPATH += video

HEADERS += stable.h \
    core/t_lock.h \
    core/t_time.h \
    core/nam.h \
    core/nbr.h \
    input/t_box_input_http.h \
    input/t_box_input_file.h \
    input/t_box_input.h \
    input/t_box_input_youtube.h \
    video/t_video_frame.h \
    t_httpreply.h \
    t_httpbackend.h \
    t_box_bar.h \
    t_box.h \
    t_box_seek_manager.h \
    widget.h \
    misc.h \
    t_my_av_utils.h \
    t_av_common.h \
    t_av_packet.h \
    t_generator.h \
    t_box_player_ctx.h \
    t_youtube.h

SOURCES += main.cpp \
    core/nbr.cpp \
    core/nam.cpp \
    input/t_box_input_youtube.cpp \
    input/t_box_input_http.cpp \
    input/t_box_input_file.cpp \
    input/t_box_input.cpp \
    video/t_video_frame.cpp \
    widget.cpp \
    t_my_av_utils.cpp \
    t_av_packet.cpp \
    t_generator.cpp \
    t_box_player_ctx.cpp \
    t_youtube.cpp \
    t_httpreply.cpp \
    t_httpbackend.cpp \
    t_box_bar.cpp \
    t_box.cpp \
    t_box_seek_manager.cpp \
    widget_media.cpp

FORMS    += \
    widget.ui

OTHER_FILES += \
    todo.txt

#[Debug Release Build]
#QMAKE_CFLAGS_RELEASE = -g
#QMAKE_CXXFLAGS_RELEASE = -g
#QMAKE_LFLAGS_RELEASE =

#[ffmpeg]
INCLUDEPATH += E:\Qt\ffmpeg-r23711-bin\include
#QMAKE_LFLAGS += -LE:\Qt\ffmpeg-r23711-bin\lib
LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswscale -lavcodec
LIBS += -lws2_32 -lvfw32

QMAKE_LFLAGS += -LE:\Qt\usr\win32\lib
LIBS += -lgsm -lmp3lame -lvpx

#[ffmpeg-mt]
#INCLUDEPATH += E:\Qt\ffmpeg-mt-100722-bin\include
#QMAKE_LFLAGS += -LE:\Qt\ffmpeg-mt-100722-bin\lib
#LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswscale -lavcodec
#LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswscale -lavcodec
#LIBS += -lws2_32 -lvfw32
